package org.hydrakyoufeng;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.cache.annotation.EnableCaching;

/**
 * 启动类
 * SpringBootApplication注解：配置Spring的扫描包，默认扫描当前包及后代包
 */
@SpringBootApplication
@MapperScan("org.hydrakyoufeng.stuplatform.mapper")
@EnableCaching
public class Main extends SpringBootServletInitializer {
    public static void main( String[] args ) {
        SpringApplication.run(Main.class,args);
    }

}